package model

type Total struct {
	RedScore  int `json:"red_score" gorm:"column:red_score"`
	RedNum    int `json:"red_num" gorm:"column:red_num"`
	BlueScore int `json:"blue_score" gorm:"column:blue_score"`
	BlueNum   int `json:"blue_num" gorm:"column:blue_num"`
}

// TableName 设置表名
func (Total) TableName() string {
	return "game_total"
}
